package com.sxt.core.consumer.zk;

import java.util.List;

import com.sxt.core.anno.AutoBuilder;
import com.sxt.core.consumer.Discovery;
import com.sxt.core.util.ZkUtil;

@AutoBuilder
public class ZkDiscoveryImpl implements Discovery{

	@Override
	public List<String> discovery(String serverName) {
		return ZkUtil.discoverServer(serverName);
	}
}
